package stars.starSystems;

import java.util.ArrayList;
import java.util.Random;

import stars.enums.StarSystemParameters;

/*
 * Given a starSystemModel, create either a set or random number of orbits
 */

public class StarSystemOrbitBuilder {

	Random rand = new Random();
	
	public ArrayList<Double> randomNumOrbits(StarSystemParameters sysParams, StarSystemModel sysModel) {
		
		//double avgOrbits = sysParams.getParameter("AVERAGE_ORBITS_PER_SYSTEM");
		//double varOrbits = sysParams.getParameter("VARIANCE_ORBITS_PER_SYSTEM");
		int max = (int) sysParams.getParameter("MAX_ORBITS_PER_SYSTEM");
		int min = (int) sysParams.getParameter("MIN_ORBITS_PER_SYSTEM");
		
		int numOrbits = rand.nextInt(max+1);
		
		ArrayList<Double> orbits = setNumOrbits(numOrbits);
		
		return orbits;
	}
	
	public ArrayList<Double> setNumOrbits(int numOrbits) {
		
		
		
		return null;
	}
	
	

}
